@font-face{
	font-family: 'cuprum';
	src:url(fuentes/cuprum.woff) format('woff');
}
html, body{
	height:100%;
	margin:0;
}

.AkiRed-Panel{
	background:rgba(250,250,250,1.0);
	overflow:auto;
	/*border: 1px solid #CCC;*/
	position:relative;
	/*width:100%;*/
	/*height:100%;*/
	margin:1px;
	border:1px solid #DDD;
	display:block;
}
/* Configuracion General*/
.AkiRed-Datagrid{
	width:auto;
	height:99%;
	background:#999;
	display:block;
	border:1px solid #DDD;
	/*margin:1px;*/
	overflow:hidden;
	position:relative;
	top:0px;
	margin-left:1px;
	margin-right:1px;
	margin-top:0px;
}
.AkiRed-Datagrid table{
	font-family:Arial, Helvetica, sans-serif;
	font-size:small;
	border-collapse:collapse;
	border-spacing:1px;
	cursor:default;
	
	position:relative;
	/*width:150px;*/
	overflow:hidden;
	table-layout:fixed; /* Es para evitar que los tds se deformen con el texto */
}

.AkiRed-Datagrid  thead tr th,
.AkiRed-Datagrid tbody tr td,
.AkiRed-Datagrid  tfoot tr th{
	border-right:1px solid #DDD;
	font-weight:normal;
	font-style:normal;
}


/* Cuerpo */
.AkiRed-Datagrid .Datagrid-Cuerpo{
	overflow:auto;
	position:relative;
	width:100%;
	height:80%;
	display:block;
	/*background:#fff;*/
	bottom:0px;
	
}


.AkiRed-Datagrid tbody{
	background:#FFF;
}
.AkiRed-Datagrid tbody td{
		border-bottom:1px solid #ccc;
}
.AkiRed-Datagrid tbody td,
.AkiRed-Datagrid thead th,
.AkiRed-Datagrid tfoot th{
	padding:0.5em;
	/* 
		Las siguientes lineas son para evitar que el
		texto deforme la celda haciendola mas grande
		en cambio se le aplica un wrap para que corre el texto
	*/
	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;	

}
.AkiRed-Datagrid thead th,
.AkiRed-Datagrid tfoot th{
	text-shadow:0.1em 0.1em #FFF;
	color:#333;

}
.AkiRed-Datagrid tbody tr:nth-child(odd){
	
	
	background-color:rgba(240,240,240,0.7);
	background-color:#F5F5F5;
}
.AkiRed-Datagrid tbody tr:hover{
	
	background-color:rgba(205,225,245,0.8);
}

/* Cabecera */
.AkiRed-Datagrid .Datagrid-Cabecera{
	z-index:5;
	box-shadow:0px 0px 6px rgba(0,1,5,1);
	position:relative;
	width:auto;
	display:block;
	
	background: rgb(230,230,230) ;
	background: -webkit-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: -moz-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: -o-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
}
.AkiRed-Datagrid .Datagrid-Cabecera thead{
	position:relative;
	display:block;
	width:100%;
	overflow:hidden;
	border-bottom:1px solid #CCC;
	
}
.AkiRed-Datagrid .Datagrid-Cabecera thead tr{ display:block;}

/* Pie */
.AkiRed-Datagrid .Datagrid-Pie tfoot{
	border-bottom:1px solid #CCC;
	background: rgb(230,230,230) ;
	background: linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: -webkit-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: -moz-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: -o-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	background: -ms-linear-gradient(top,rgba(255,255,255,1) ,rgba(230,230,230,1));
	
	
	box-shadow:0px 0px 6px rgba(0,0,0,1);
	z-index:2;
}
.AkiRed-Datagrid .Datagrid-Pie,
.AkiRed-Datagrid .Datagrid-Pie table{
	width:100%;
}

/* Eventos */

/*
.AkiRed-Datagrid  .selected-item{
	background: rgba(205,225,245,0.8);
	background: linear-gradient(top,rgba(205,225,245,0.8) ,rgba(180,200,220,0.8));
	background: -webkit-linear-gradient(top,rgba(205,225,245,0.8) ,rgba(180,200,220,0.8));
	background: -moz-linear-gradient(top,rgba(205,225,245,0.8) ,rgba(180,200,220,0.8));
	background: -o-linear-gradient(top,rgba(205,225,245,0.8) ,rgba(180,200,220,0.8));
	background: -ms-linear-gradient(top,rgba(205,225,245,0.8) ,rgba(180,200,220,0.8));
}
.AkiRed-Datagrid .selected-item td{
	border-right:1px solid rgba(160,180,200,1);
	border-bottom:1px solid rgba(160,180,200,1);
}*/


.AkiRed-Datagrid  .selected-item,
.AkiRed-Datagrid tbody tr:nth-child(odd).selected-item{
	background:rgba(255,173,71,1);
	background: -linear-gradient(top,rgba(255,153,51,0.8 ),rgba(245,102,0,0.8));
	background: -webkit-linear-gradient(top,rgba(255,153,51,0.8 ),rgba(245,102,0,0.8));
	background: -moz-linear-gradient(top,rgba(255,153,51,0.8 ),rgba(245,102,0,0.8));
	background: -o-linear-gradient(top,rgba(255,153,51,0.8 ),rgba(245,102,0,0.8));
	background: -ms-linear-gradient(top,rgba(255,153,51,0.8 ),rgba(245,102,0,0.8));
}
.AkiRed-Datagrid .selected-item td{
	border-right:1px solid rgba(203,101,0,1);
	border-bottom:1px solid rgba(204,51,0,1);
	color:#FFF;
}

